import { useEffect } from "react";
import { history } from "umi";

const IndexPage = () => {
    useEffect(() => {
        history.replace({ pathname: "/dashboard" });
    }, []);

    return <></>;
};

export default IndexPage;
